﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Main.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div class="row">
        <div class="col-sm-6">
            <div class="box box-success">
                <div class="box-header">
                    <h3 class="box-title">
                        Thông tin phiếu xuất
                    </h3>
                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle hnq navbar-btn sidebar-toggle" data-toggle="collapse"
                            data-target="#export-info">
                            <span class="icon-plus"></span><span class="icon-plus"></span><span class="icon-plus">
                            </span>
                        </button>
                    </div>
                </div>
                <div class="box-body">
                    <div class="collapse navbar-collapse remove-collapse" id="export-info">
                        <div id="hnq">
                            <table class="table table-bordered" cellpadding="0" cellspacing="0" border="0">
                                <tbody>
                                    <tr>
                                        <td>
                                            Số phiếu
                                        </td>
                                        <td>
                                            <input type="text" class="form-control restore-width" disabled="disabled" value="PH01-TG02" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Người nhập
                                        </td>
                                        <td>
                                            <input type="text" class="form-control restore-width" disabled="disabled" value="tuanta" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Ngày nhập
                                        </td>
                                        <td>
                                            <div class="input-group">
                                                <div class="input-group-addon">
                                                    <i class="fa fa-calendar"></i>
                                                </div>
                                                <input type="text" size="10" class="form-control restore-width" value='<%: DateTime.Now.ToString("dd/MM/yyyy") %>'
                                                    data-inputmask="'alias': 'dd/mm/yyyy'" data-mask />
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Người bán
                                        </td>
                                        <td>
                                            <input type="text" class="form-control restore-width" value="tuanta" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Cửa hàng
                                        </td>
                                        <td>
                                            <select class="select-default">
                                                <option selected="selected">Cửa hàng thuốc số 1</option>
                                            </select>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Diễn giải
                                        </td>
                                        <td colspan="3">
                                            <textarea rows="3" cols="1" class="form-control"></textarea>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-6">
            <div class="box box-success">
                <div class="box-header">
                    <h3 class="box-title">
                        Thông tin khách hàng
                    </h3>
                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle hnq navbar-btn sidebar-toggle" data-toggle="collapse"
                            data-target="#customer-info">
                            <span class="icon-plus"></span><span class="icon-plus"></span><span class="icon-plus">
                            </span>
                        </button>
                    </div>
                </div>
                <div class="box-body">
                    <div class="collapse navbar-collapse remove-collapse" id="customer-info">
                        <div id="hnq">
                            <table border="0" cellpadding="0" cellspacing="0" class="table table-bordered">
                                <tbody>
                                    <tr>
                                        <td>
                                            Mã khách hàng
                                        </td>
                                        <td>
                                            <input type="text" class="form-control restore-width" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Tên khách hàng
                                        </td>
                                        <td>
                                            <input type="text" class="form-control restore-width" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Số điện thoại
                                        </td>
                                        <td>
                                            <input type="text" class="form-control restore-width" data-inputmask="'mask' : '99999999999'"
                                                data-mask />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Email
                                        </td>
                                        <td>
                                            <input type="text" class="form-control restore-width" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Địa chỉ
                                        </td>
                                        <td>
                                            <select class="select-default">
                                                <option>Tp.HCM</option>
                                                <option>Hà Nội</option>
                                            </select>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
            <div class="box box-success">
                <div class="box-header">
                    <h3 class="box-title">
                        Tìm hàng trong kho
                    </h3>
                </div>
                <div class="box-body">
                    <div id="hnq">
                        <div class="input-group">
                            <div class="input-group-addon">
                                <i class="fa fa-search-plus"></i>
                            </div>
                            <input class="form-control restore-width" id="Search" type="text" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-12">
            <div class="box box-success">
                <div class="box-header">
                    <h3 class="box-title">
                        Thông tin hàng hóa
                    </h3>
                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle hnq navbar-btn sidebar-toggle" data-toggle="collapse"
                            data-target="#goods-info">
                            <span class="icon-plus"></span><span class="icon-plus"></span><span class="icon-plus">
                            </span>
                        </button>
                    </div>
                </div>
                <div class="box-body">
                    <div class="collapse navbar-collapse no-padding remove-collapse" id="goods-info">
                        <div id="hnq">
                            <table class="table table-bordered" cellpadding="0" cellspacing="0" border="0">
                                <tbody>
                                    <tr>
                                        <td>
                                            Mã SP
                                            <input type="hidden" id="hdfid" />
                                        </td>
                                        <td>
                                            <input type="text" class="form-control remove-width" disabled="disabled" value="DG1001-H10-02" />
                                        </td>
                                        <td>
                                            Loại SP
                                        </td>
                                        <td>
                                            <input type="text" class="form-control remove-width" disabled="disabled" value="Thuốc nhức đầu" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Tên SP
                                        </td>
                                        <td>
                                            <input type="text" class="form-control" disabled="disabled" value="Decologen (ví 10 viên)" />
                                        </td>
                                        <td>
                                            Ngày hết hạn
                                        </td>
                                        <td>
                                            <input type="text" class="form-control remove-width" disabled="disabled" value="<%: DateTime.Now.ToString("dd/MM/yyyy") %>" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Giá bán
                                        </td>
                                        <td>
                                            <input type="text" class="form-control remove-width" disabled="disabled" value="100.000 VNĐ" />
                                        </td>
                                        <td>
                                            Vị trí đặt
                                        </td>
                                        <td>
                                            <input type="text" class="form-control remove-width" disabled="disabled" value="Kệ 1 bên phải" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Đơn vị
                                        </td>
                                        <td>
                                            <input type="text" class="form-control" disabled="disabled" value="Vĩ" />
                                        </td>
                                        <td rowspan="2">
                                            Diễn giải
                                        </td>
                                        <td rowspan="2">
                                            <textarea class="form-control" rows="2" disabled="disabled" cols="1"></textarea>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Số lượng
                                        </td>
                                        <td>
                                            <div class="input-group">
                                                <input type="text" class="form-control" value="10" />
                                                <div class="input-group-btn remove-width">
                                                    <select class="select-default">
                                                        <option>Viên</option>
                                                        <option>Vĩ</option>
                                                    </select>
                                                </div>
                                            </div>
                                        </td>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-12">
            <div class="form-group">
                <div class="btn-toolbar">
                    <button class="btn btn-default">
                        Thêm hàng vào đơn</button>
                    <button class="btn btn-default">
                        Hủy hàng khỏi đơn</button>
                </div>
            </div>
        </div>
    </div>
    <div class="box box-success">
        <div class="box-header">
            <h3 class="box-title">
                Danh sách hàng thuộc phiếu</h3>
        </div>
        <div class="box-body table-responsive no-padding">
            <table class="table table-hover" cellpadding="0" cellspacing="0" border="0">
                <tbody>
                    <tr class="trfc">
                        <th align="center">
                            <input type="checkbox">
                        </th>
                        <th>
                            #
                        </th>
                        <th>
                            Mã SP
                        </th>
                        <th>
                            Tên SP
                        </th>
                        <th>
                            Ngày hết hạn
                        </th>
                        <th>
                            Số lượng
                        </th>
                        <th>
                            Đơn vị
                        </th>
                        <th>
                            Giá bán
                        </th>
                    </tr>
                    <tr>
                        <td align="center">
                            <input type="checkbox">
                        </td>
                        <td align="center">
                            1
                        </td>
                        <td>
                            DG1001-H1
                        </td>
                        <td>
                            Decologen ( Vĩ 10 viên )
                        </td>
                        <td align="center">
                            <%: DateTime.Now.ToString("dd/MM/yyyy") %>
                        </td>
                        <td align="center">
                            50
                        </td>
                        <td align="center">
                            Viên
                        </td>
                        <td align="center">
                            150.000 VNĐ
                        </td>
                    </tr>
                    <tr>
                        <td align="center">
                            <input type="checkbox">
                        </td>
                        <td align="center">
                            2
                        </td>
                        <td>
                            DG1001-H2
                        </td>
                        <td>
                            Decologen ( Vĩ 10 viên )
                        </td>
                        <td align="center">
                            <%: DateTime.Now.ToString("dd/MM/yyyy") %>
                        </td>
                        <td align="center">
                            50
                        </td>
                        <td align="center">
                            Viên
                        </td>
                        <td align="center">
                            150.000 VNĐ
                        </td>
                    </tr>
                    <tr>
                        <td align="center">
                            <input type="checkbox">
                        </td>
                        <td align="center">
                            3
                        </td>
                        <td>
                            DG1001-H3
                        </td>
                        <td>
                            Decologen ( Vĩ 10 viên )
                        </td>
                        <td align="center">
                            <%: DateTime.Now.ToString("dd/MM/yyyy") %>
                        </td>
                        <td align="center">
                            50
                        </td>
                        <td align="center">
                            Viên
                        </td>
                        <td align="center">
                            150.000 VNĐ
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-3">
        </div>
        <div class="col-sm-9">
            <table border="0" cellpadding="0" cellspacing="0" class="table">
                <tr>
                    <td>
                        Khuyến mãi
                    </td>
                    <td>
                        <input class="form-control alignRight bold-text" value="10.00" type="text" />
                    </td>
                    <td>
                        VAT
                    </td>
                    <td>
                        <input class="form-control alignRight bold-text" value="0.1" type="text" />
                    </td>
                    <td>
                        Tổng tiền
                    </td>
                    <td>
                        <input class="form-control alignRight bold-text" value="1.000.000 VNĐ" type="text" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="row center-block">
        <div class="col-sm-12">
            <div class="form-group">
                <div class="btn-toolbar">
                    <button class="btn btn-default">
                        Lưu hóa đơn</button>
                    <button class="btn btn-default">
                        In hóa đơn</button>
                    <button class="btn btn-default">
                        Hủy đơn hàng</button>
                </div>
            </div>
        </div>
    </div>
    <!-- Library -->
    <script src="/Scripts/jquery-1.5.1.js" type="text/javascript"></script>
    <!-- jQuery 2.0.2 -->
    <script src="/Scripts/Pharma/jquery.min.js" type="text/javascript"></script>
    <!-- jQuery UI 1.10.3 -->
    <script src="/Scripts/Pharma/jquery-ui-1.10.3.min.js" type="text/javascript"></script>
    <!-- Bootstrap -->
    <script src="/Scripts/Pharma/bootstrap.min.js" type="text/javascript"></script>
    <!-- Bootstrap WYSIHTML5 -->
    <script src="/Scripts/Pharma/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"
        type="text/javascript"></script>
    <!-- AdminLTE App -->
    <script src="/Scripts/Pharma/AdminLTE/app_permission.js" type="text/javascript"></script>
    <!-- InputMask -->
    <script src="/Scripts/Pharma/plugins/input-mask/jquery.inputmask.js" type="text/javascript"></script>
    <script src="/Scripts/Pharma/plugins/input-mask/jquery.inputmask.date.extensions.js"
        type="text/javascript"></script>
    <script src="/Scripts/Pharma/plugins/input-mask/jquery.inputmask.extensions.js" type="text/javascript"></script>
    <!-- Notification -->
    <script src="/Scripts/Pharma/plugins/notification/jquery.noty.packaged.min.js" type="text/javascript"></script>
    <script src="/Scripts/Pharma/plugins/notification/Notification.js" type="text/javascript"></script>
    <!-- Combogrid -->
    <script src="/Scripts/Pharma/plugins/Combogrid/jquery-ui-1.10.1.custom.min.js" type="text/javascript"></script>
    <link href="/Content/themes/Pharma/smoothness/jquery-ui-1.10.1.custom.css" rel="stylesheet"
        type="text/css" />
    <script src="/Scripts/Pharma/plugins/Combogrid/jquery.ui.combogrid-1.6.3.js" type="text/javascript"></script>
    <link href="/Content/themes/Pharma/smoothness/jquery.ui.combogrid.css" rel="stylesheet"
        type="text/css" />
    <!-- Validate Engine -->
    <link href="/Content/themes/ValidationEngine/validationEngine.jquery.css" rel="stylesheet"
        type="text/css" />
    <script src="/Scripts/Pharma/plugins/ValidationEngine/jquery.validationEngine-vi.js"
        type="text/javascript"></script>
    <script src="/Scripts/Pharma/plugins/ValidationEngine/jquery.validationEngine.js"
        type="text/javascript"></script>
    <!-- format Currency -->
    <script src="/Scripts/Pharma/plugins/formatCurrency/jquery.price_format.1.8.min.js"
        type="text/javascript"></script>
    <script src="/Scripts/Pharma/Pharmacy.js" type="text/javascript"></script>
    <script type="text/javascript">
        Pharma._init();
        Pharma._addActive(["tvTransaction", "liSale"], "ulTransaction");
        Pharma._checkAll("checkAll");
        Pharma._autocompletebill("Search");

    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <%:ViewBag.Title %>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="NavBar" runat="server">
    <h1>
        Bán hàng <small>Control panel</small>
    </h1>
    <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-dashboard"></i>Home</a></li>
        <li class="active">Giao dịch</li>
        <li class="active">Bán hàng</li>
    </ol>
</asp:Content>
